import Home from './pages/Home.vue'

// 可选：导出项目级配置
export const config = {
  // 项目级路由守卫示例（可按需开启）
  // beforeEach: (to, from, next) => { next() },
  // afterEach: (to, from) => {}
}

const routes = [
  {
    path: '/', // 将被全局路由装配为 /project_01
    name: 'Project01Home',
    component: Home,
    meta: { title: 'Project 01 - 首页' }
  },
  {
    path: '/about', // 将被装配为 /project_01/about
    name: 'Project01About',
    component: () => import('./pages/About.vue'),
    meta: { title: '关于 Project 01' }
  }
]

export default routes